import request from '@/config/axios'

// 获取我的项目
export const getMyProject = async () => {
  return await request.get({ url: '/system/project/myProject' })
}
// 总览/最近访问/记录最近访问
export const setRecentVisit = async (data) => {
  return await request.post({ url: '/overview/recently/visit',data })
}
// 总览/最近访问/查询最近访问
export const getRecentVisit = async () => {
  return await request.get({ url: '/overview/recently/list' })
}
// 清空最近访问
export const clearRecentVisit = async () => {
  return await request.delete({ url: '/overview/recently/delete' })
}
// 用户所有报告
export const getUserAllReports = async (params) => {
  return await request.get({ url: '/member/getAllReportsOfGivenUser',params })
}
